package com.gaogzhen.threadPool;

/**
 * 拒绝策略
 * @param <T>   泛型-任务
 */
@FunctionalInterface
public interface RejectStrategy<T> {
    void reject(BlockingQueue<T> queue, T task);
}
